Skip to main content
guest
|
Join
|
Help
|
Sign In
guest
Join
|
Help
|
Sign In
IBCS1-WD
Home
Home
pages
changes
Favorites
20
All Pages
20
RefLink
20
Reference Links
ReferenceResources-LearnPython
Log
20
June 1st 2016 by Tom
June 3rd 2016 by Arthur
June 12th 2016 by Alex
June 15th 2016 by Doris
August 31st 2016 by Enzo Yang
Jan 2 2018 Lesson Log
June 17th 2016 by Michael Qian
June 22nd 2016 by Tom
June 24th 2016 by David Ye
May 17th 2017 by Alex Zhou
May 5th 2017 by Tom Zhou
November 11th by Doris Xue
November 14th 2016 by Margaret Sun
November 17th 2016 by Michael Qian
November 23th 2016 by Alex Zhou
November 4th 2016 by Tom Zhou
October 10th 2016 by Margaret Sun
October 12th 2016 by Matt An
October 24th 2016 by Enzo Yang
October 28th 2016 by David Ye
see more
Add
Add "All Pages"
Done
Project Pages
Doris' project page
Alex's project page
Tom's project page
Charles's project page
Matt's project page
Michael's project page
Enzo's project page
Arthur's project page
David's project page
Margaret's project page
September 18th 2016 by Alex
Edit
0
2
…
1
Tags
Log
Notify
RSS
Backlinks
Source
Print
Export (PDF)
1. deep copy的重要性:
b = a[ : ]
在编程时千万要记得不要让变量的值在经过函数运算后发生改变。
这一点很重要!因为不然的话变量的值在你不知情的情况下就会偷偷被改变
2. 计算机进行模拟——100000次实验:
随机生成23个人的生日,来找是否有相同的一对生日。
生成23个范围在1至365的整数
找到一个重复的就能返回 True
3. list1 ——>[‘a’, ‘b’, ‘c’]
def a(l1, l2):
return
list2 ——>[‘c’, ‘b’, ‘a’]
a(list1, list2):
l1 ——>list1
l1只是list1的alias
修改l1同时会修改list1
4. 状态机:
状态(state)与时间相关
状态
输入
输出
状态转移函数 state transition function
5. y = x + 1 纯函数
yt + 1 = yt + xt + 1 离散,数字,取决于历史状态
pypi python
numpy + mkl, scipy,
Javascript Required
You need to enable Javascript in your browser to edit pages.
help on how to format text
Turn off "Getting Started"
Home
...
Loading...
b = a[ : ]
在编程时千万要记得不要让变量的值在经过函数运算后发生改变。
这一点很重要!因为不然的话变量的值在你不知情的情况下就会偷偷被改变
2. 计算机进行模拟——100000次实验:
随机生成23个人的生日,来找是否有相同的一对生日。
生成23个范围在1至365的整数
找到一个重复的就能返回 True
3. list1 ——>[‘a’, ‘b’, ‘c’]
def a(l1, l2):
return
list2 ——>[‘c’, ‘b’, ‘a’]
a(list1, list2):
l1 ——>list1
l1只是list1的alias
修改l1同时会修改list1
4. 状态机:
状态(state)与时间相关
状态
输入
输出
状态转移函数 state transition function
5. y = x + 1 纯函数
yt + 1 = yt + xt + 1 离散,数字,取决于历史状态
pypi python
numpy + mkl, scipy,